package ncc.openapi.uapbd.file.vo;

import java.io.Serializable;

import org.json.JSONString;

import com.alibaba.fastjson.JSONObject;

public class ResponseVO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String successful;
	private String statusCode;
	private String resultdescription;
	
	public String getSuccessful() {
		return successful;
	}
	public void setSuccessful(String successful) {
		this.successful = successful;
	}
	public String getResultdescription() {
		return resultdescription;
	}
	public void setResultdescription(String resultdescription) {
		this.resultdescription = resultdescription;
	}
	
	public String getStatusCode() {
		return statusCode;
	}
	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}
	public JSONString toJsonStr() {
		
		JSONString str = new JSONString() {
			
			@Override
			public String toJSONString() {
				
				JSONObject root = new JSONObject();
				root.put("successful", successful);
				root.put("statusCode", statusCode);
				root.put("resultdescription", resultdescription);
				
				return root.toJSONString();
			}
		};
		
		
		return str;
	}
}
